import { connect } from 'react-redux';
import { query, queryandchange } from '../modules/test';

import Test from '../components/Test';

const mapDispatchToProps = {
  query,
  queryandchange
};

const mapStateToProps = (state) => ({
  test: state.test
});

export default connect(mapStateToProps, mapDispatchToProps)(Test);
